package com.sunny.myproject.produce.entity;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.sunny.myproject.storem.entity.Materiel;
import com.sunny.myproject.system.entity.IdEntity;

/**
 * bom 实体
 * @author sunny_nie
 *
 */
@Entity
@Table(name="tb_bom")
public class Bom extends IdEntity{

	private Materiel materiel;
	/**
	 * 规格书编号
	 * */
	private String standardno; 
	private String makeDate;
	private String status = "未审核";
	
	@ManyToOne(targetEntity=Materiel.class)
	public Materiel getMateriel() {
		return materiel;
	}
	public void setMateriel(Materiel materiel) {
		this.materiel = materiel;
	}
	public String getStandardno() {
		return standardno;
	}
	public void setStandardno(String standardno) {
		this.standardno = standardno;
	}
	public String getMakeDate() {
		return makeDate;
	}
	public void setMakeDate(String makeDate) {
		this.makeDate = makeDate;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	
	
}
